package org.example.bookstore.pojo.DTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailOrder {
    private Integer userId;
    private Integer orderId;
    private Integer bookNum;
    private String bookImg;
    private Integer orderType;  //订单类型 0:购买  1：借书
    private Double totalPrice;
    private Integer payMethod;  //付方式 1：到付 2：微信支付 3 支付宝 4：银行卡
    private Integer payStatus;   // 0未支付  1已支付
    private LocalDateTime createTime;
    private String adpca;
    private String adphone;
    private String adname;
    private String addetail;
    private String bookName;
}
